package com.xiaofan.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author 晓帆
 * @version 1.0
 **/
//@EnableWebMvc//代表全权阶段，在springboot中不使用
    @Configuration//相当于补充配置
@ComponentScan("com.xiaofan.controller")
public class SpringMVCConfig implements WebMvcConfigurer {

}
